<include file="Public/header" />
<title>管理员列表</title>
<style>
	.red td,.red td a{
		color:red;
	}
	.yellow td,.yellow td a{
		color:yellow;
	}
	.blue td,.yellow td a{
		color:blue;
	}
</style>
</head>
<body>
<div class="pd-20">
	<div class="page mt <{$page_nums}>" style="text-align:left">
		<div>  
			<for start="1" end="$page_nums+1">
				<a class="num" href="javascript:exportExcel(<{$i}>)"><{$i}></a>
			</for>
		</div>
	</div>
</div>
<script>
	//批量导出
	function exportExcel(page){
		var url="<{:U('Order/order',array('excel'=>1))}>/?1=1";
		
		logistics_no="<{:I('logistics_no')}>";
		order_no="<{:I('order_no')}>";
		user_name="<{:I('user_name')}>";
		user_idcard="<{:I('user_idcard')}>";
		user_phone="<{:I('user_phone')}>";
		user_address="<{:I('user_address')}>";
		delivery_start_time="<{:I('delivery_start_time')}>";
		delivery_end_time="<{:I('delivery_end_time')}>";
		username="<{:I('username')}>";
		
		start_time="<{:I('start_time')}>";
		end_time="<{:I('end_time')}>";
		url=url+"&page="+page;
		
		if(username!=""){
			url=url+"&username="+username;
		}
		
		if(logistics_no!=""){
			url=url+"&logistics_no="+logistics_no;
		}
		if(order_no!=""){
			url=url+"&order_no="+order_no;
		}
		if(user_name!=""){
			url=url+"&user_name="+user_name;
		}
		if(user_idcard!=""){
			url=url+"&user_idcard="+user_idcard;
		}
		if(user_phone!=""){
			url=url+"&user_phone="+user_phone;
		}
		if(user_address!=""){
			url=url+"&user_address="+user_address;
		}
		if(start_time!=""){
			url=url+"&start_time="+start_time;
		}
		if(end_time!=""){
			url=url+"&end_time="+end_time;
		}
		if(delivery_start_time!=""){
			url=url+"&delivery_start_time="+delivery_start_time;
		}
		if(delivery_end_time!=""){
			url=url+"&delivery_end_time="+delivery_end_time;
		}
		
		window.location.href=url;
	}

</script>
<include file="Public/footer_js" />
</body>
</html>